const tokenName = 'token'
export const setToken = (token) => {
    window.localStorage.setItem(tokenName, token);
}
export const getToken = () => {
    let token = window.localStorage.getItem(tokenName)
    return token;
}
export const removeToken = () => {
    window.localStorage.clear(tokenName);
}